package com.apexedu.identity.entity;// default package
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * User entity. @author MyEclipse Persistence Tools
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "USER_")
public class User implements java.io.Serializable {

	// Fields

	private Long userid;
	private String uuid;
	private Long companyid;
	private String createdate;
	private String modifieddate;
	private Boolean defaultuser;
	private Long contactid;
	private String password;
	private Boolean passwordencrypted;
	private Boolean passwordreset;
	private String passwordmodifieddate;
	private String digest;
	private String reminderqueryquestion;
	private String reminderqueryanswer;
	private Long gracelogincount;
	private String screenname;
	private String emailaddress;
	private Long facebookid;
	private String openid;
	private Long portraitid;
	private String languageid;
	private String timezoneid;
	private String greeting;
	private String comments;
	private String firstname;
	private String middlename;
	private String lastname;
	private String jobtitle;
	private String logindate;
	private String loginip;
	private String lastlogindate;
	private String lastloginip;
	private String lastfailedlogindate;
	private Long failedloginattempts;
	private Boolean lockout;
	private String lockoutdate;
	private Boolean agreedtotermsofuse;
	private Boolean emailaddressverified;
	private Long status;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(Long userid) {
		this.userid = userid;
	}

	/** full constructor */
	public User(Long userid, String uuid, Long companyid,
			String createdate, String modifieddate, Boolean defaultuser,
			Long contactid, String password, Boolean passwordencrypted,
			Boolean passwordreset, String passwordmodifieddate, String digest,
			String reminderqueryquestion, String reminderqueryanswer,
			Long gracelogincount, String screenname, String emailaddress,
			Long facebookid, String openid, Long portraitid,
			String languageid, String timezoneid, String greeting,
			String comments, String firstname, String middlename,
			String lastname, String jobtitle, String logindate, String loginip,
			String lastlogindate, String lastloginip,
			String lastfailedlogindate, Long failedloginattempts,
			Boolean lockout, String lockoutdate, Boolean agreedtotermsofuse,
			Boolean emailaddressverified, Long status) {
		this.userid = userid;
		this.uuid = uuid;
		this.companyid = companyid;
		this.createdate = createdate;
		this.modifieddate = modifieddate;
		this.defaultuser = defaultuser;
		this.contactid = contactid;
		this.password = password;
		this.passwordencrypted = passwordencrypted;
		this.passwordreset = passwordreset;
		this.passwordmodifieddate = passwordmodifieddate;
		this.digest = digest;
		this.reminderqueryquestion = reminderqueryquestion;
		this.reminderqueryanswer = reminderqueryanswer;
		this.gracelogincount = gracelogincount;
		this.screenname = screenname;
		this.emailaddress = emailaddress;
		this.facebookid = facebookid;
		this.openid = openid;
		this.portraitid = portraitid;
		this.languageid = languageid;
		this.timezoneid = timezoneid;
		this.greeting = greeting;
		this.comments = comments;
		this.firstname = firstname;
		this.middlename = middlename;
		this.lastname = lastname;
		this.jobtitle = jobtitle;
		this.logindate = logindate;
		this.loginip = loginip;
		this.lastlogindate = lastlogindate;
		this.lastloginip = lastloginip;
		this.lastfailedlogindate = lastfailedlogindate;
		this.failedloginattempts = failedloginattempts;
		this.lockout = lockout;
		this.lockoutdate = lockoutdate;
		this.agreedtotermsofuse = agreedtotermsofuse;
		this.emailaddressverified = emailaddressverified;
		this.status = status;
	}

	// Property accessors
	@Id
	@Column(name = "USERID", unique = true, nullable = false, precision = 30, scale = 0)
	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	@Column(name = "UUID_", length = 300)
	public String getUuid() {
		return this.uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	@Column(name = "COMPANYID", precision = 30, scale = 0)
	public Long getCompanyid() {
		return this.companyid;
	}

	public void setCompanyid(Long companyid) {
		this.companyid = companyid;
	}

	@Column(name = "CREATEDATE")
	public String getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(String createdate) {
		this.createdate = createdate;
	}

	@Column(name = "MODIFIEDDATE")
	public String getModifieddate() {
		return this.modifieddate;
	}

	public void setModifieddate(String modifieddate) {
		this.modifieddate = modifieddate;
	}

	@Column(name = "DEFAULTUSER", precision = 1, scale = 0)
	public Boolean getDefaultuser() {
		return this.defaultuser;
	}

	public void setDefaultuser(Boolean defaultuser) {
		this.defaultuser = defaultuser;
	}

	@Column(name = "CONTACTID", unique = true, precision = 30, scale = 0)
	public Long getContactid() {
		return this.contactid;
	}

	public void setContactid(Long contactid) {
		this.contactid = contactid;
	}

	@Column(name = "PASSWORD_", length = 300)
	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Column(name = "PASSWORDENCRYPTED", precision = 1, scale = 0)
	public Boolean getPasswordencrypted() {
		return this.passwordencrypted;
	}

	public void setPasswordencrypted(Boolean passwordencrypted) {
		this.passwordencrypted = passwordencrypted;
	}

	@Column(name = "PASSWORDRESET", precision = 1, scale = 0)
	public Boolean getPasswordreset() {
		return this.passwordreset;
	}

	public void setPasswordreset(Boolean passwordreset) {
		this.passwordreset = passwordreset;
	}

	@Column(name = "PASSWORDMODIFIEDDATE")
	public String getPasswordmodifieddate() {
		return this.passwordmodifieddate;
	}

	public void setPasswordmodifieddate(String passwordmodifieddate) {
		this.passwordmodifieddate = passwordmodifieddate;
	}

	@Column(name = "DIGEST", length = 1020)
	public String getDigest() {
		return this.digest;
	}

	public void setDigest(String digest) {
		this.digest = digest;
	}

	@Column(name = "REMINDERQUERYQUESTION", length = 300)
	public String getReminderqueryquestion() {
		return this.reminderqueryquestion;
	}

	public void setReminderqueryquestion(String reminderqueryquestion) {
		this.reminderqueryquestion = reminderqueryquestion;
	}

	@Column(name = "REMINDERQUERYANSWER", length = 300)
	public String getReminderqueryanswer() {
		return this.reminderqueryanswer;
	}

	public void setReminderqueryanswer(String reminderqueryanswer) {
		this.reminderqueryanswer = reminderqueryanswer;
	}

	@Column(name = "GRACELOGINCOUNT", precision = 30, scale = 0)
	public Long getGracelogincount() {
		return this.gracelogincount;
	}

	public void setGracelogincount(Long gracelogincount) {
		this.gracelogincount = gracelogincount;
	}

	@Column(name = "SCREENNAME", length = 300)
	public String getScreenname() {
		return this.screenname;
	}

	public void setScreenname(String screenname) {
		this.screenname = screenname;
	}

	@Column(name = "EMAILADDRESS", length = 300)
	public String getEmailaddress() {
		return this.emailaddress;
	}

	public void setEmailaddress(String emailaddress) {
		this.emailaddress = emailaddress;
	}

	@Column(name = "FACEBOOKID", precision = 30, scale = 0)
	public Long getFacebookid() {
		return this.facebookid;
	}

	public void setFacebookid(Long facebookid) {
		this.facebookid = facebookid;
	}

	@Column(name = "OPENID", length = 4000)
	public String getOpenid() {
		return this.openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	@Column(name = "PORTRAITID", precision = 30, scale = 0)
	public Long getPortraitid() {
		return this.portraitid;
	}

	public void setPortraitid(Long portraitid) {
		this.portraitid = portraitid;
	}

	@Column(name = "LANGUAGEID", length = 300)
	public String getLanguageid() {
		return this.languageid;
	}

	public void setLanguageid(String languageid) {
		this.languageid = languageid;
	}

	@Column(name = "TIMEZONEID", length = 300)
	public String getTimezoneid() {
		return this.timezoneid;
	}

	public void setTimezoneid(String timezoneid) {
		this.timezoneid = timezoneid;
	}

	@Column(name = "GREETING", length = 1020)
	public String getGreeting() {
		return this.greeting;
	}

	public void setGreeting(String greeting) {
		this.greeting = greeting;
	}

	@Column(name = "COMMENTS", length = 4000)
	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	@Column(name = "FIRSTNAME", length = 300)
	public String getFirstname() {
		return this.firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	@Column(name = "MIDDLENAME", length = 300)
	public String getMiddlename() {
		return this.middlename;
	}

	public void setMiddlename(String middlename) {
		this.middlename = middlename;
	}

	@Column(name = "LASTNAME", length = 300)
	public String getLastname() {
		return this.lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

	@Column(name = "JOBTITLE", length = 400)
	public String getJobtitle() {
		return this.jobtitle;
	}

	public void setJobtitle(String jobtitle) {
		this.jobtitle = jobtitle;
	}

	@Column(name = "LOGINDATE")
	public String getLogindate() {
		return this.logindate;
	}

	public void setLogindate(String logindate) {
		this.logindate = logindate;
	}

	@Column(name = "LOGINIP", length = 300)
	public String getLoginip() {
		return this.loginip;
	}

	public void setLoginip(String loginip) {
		this.loginip = loginip;
	}

	@Column(name = "LASTLOGINDATE")
	public String getLastlogindate() {
		return this.lastlogindate;
	}

	public void setLastlogindate(String lastlogindate) {
		this.lastlogindate = lastlogindate;
	}

	@Column(name = "LASTLOGINIP", length = 300)
	public String getLastloginip() {
		return this.lastloginip;
	}

	public void setLastloginip(String lastloginip) {
		this.lastloginip = lastloginip;
	}

	@Column(name = "LASTFAILEDLOGINDATE")
	public String getLastfailedlogindate() {
		return this.lastfailedlogindate;
	}

	public void setLastfailedlogindate(String lastfailedlogindate) {
		this.lastfailedlogindate = lastfailedlogindate;
	}

	@Column(name = "FAILEDLOGINATTEMPTS", precision = 30, scale = 0)
	public Long getFailedloginattempts() {
		return this.failedloginattempts;
	}

	public void setFailedloginattempts(Long failedloginattempts) {
		this.failedloginattempts = failedloginattempts;
	}

	@Column(name = "LOCKOUT", precision = 1, scale = 0)
	public Boolean getLockout() {
		return this.lockout;
	}

	public void setLockout(Boolean lockout) {
		this.lockout = lockout;
	}

	@Column(name = "LOCKOUTDATE")
	public String getLockoutdate() {
		return this.lockoutdate;
	}

	public void setLockoutdate(String lockoutdate) {
		this.lockoutdate = lockoutdate;
	}

	@Column(name = "AGREEDTOTERMSOFUSE", precision = 1, scale = 0)
	public Boolean getAgreedtotermsofuse() {
		return this.agreedtotermsofuse;
	}

	public void setAgreedtotermsofuse(Boolean agreedtotermsofuse) {
		this.agreedtotermsofuse = agreedtotermsofuse;
	}

	@Column(name = "EMAILADDRESSVERIFIED", precision = 1, scale = 0)
	public Boolean getEmailaddressverified() {
		return this.emailaddressverified;
	}

	public void setEmailaddressverified(Boolean emailaddressverified) {
		this.emailaddressverified = emailaddressverified;
	}

	@Column(name = "STATUS", precision = 30, scale = 0)
	public Long getStatus() {
		return this.status;
	}

	public void setStatus(Long status) {
		this.status = status;
	}

}